/*
配置
 */



import 'package:reabampos/src/reabam/operation/rb_enum.dart';

abstract class RBConfigs{

  /*
   Android打包版本:
   正式版: flutter build apk --flavor version_official
   测试版: flutter build apk --flavor version_test
   开发板: flutter build apk --flavor version_develop
   打开桌面的计算器，输入38259016=
   */
  //睿本云HD 打包各个环境类型
  //static VersionType versionType=VersionType.developerVersion;
  //static VersionType versionType=VersionType.testVersion;

  //static VersionType versionType=VersionType.officialVersion;
  //static VersionType versionType=VersionType.baodaoVersion;

  //自助收银
  //static VersionType versionType=VersionType.testSelfServiceVersion;
  static VersionType versionType=VersionType.officialSelfServiceVersion;

  static String versionName='2411.25.01';
  static int version=2024112501;


  //self service////////////////////////////////////////////////////////////////////
  static double bottomBarButtomMarginLeftRight=25;
  static double selectImageWidth=28;

  static double image_nav_arrow_right_width=7;
  static double image_nav_arrow_right_height=13;
  static double deviceBarHeight=60;


  static double? dialogWidth;


  //当前页面是否扫描添加商品到购物车:1, 扫描支付:2
  static int isPageScanType=0;




  //////////////////////////////////////////////////////////////////////
  //根据各个环境类型自动设置对应的url
  static String apiUrl = ''; //替代原来的hostUrl
  static String h5Url='';
  static String secondScreenWebUrl='';
  static String secondScreenWebUrl2='';
  //是否使用商米内置打印机
  static bool isUserShangMiPrint=true;
  //是否使用商米串口电子秤
  static bool isUserShangMiSerialWeigher=true;
  //是否商米设备
  static bool isShangMiDevice=false;

  static String? localIP;

  //sp
  static String Notify_Global_Handler = "Notify_Global_Handler";
  static String SP_sysNo='SP_sysNo';
  static String SP_companyId='SP_companyId';
  static String SP_staff='SP_staff';
  static String SP_companyName='SP_companyName';
  static String SP_companyCode='SP_companyCode';
  static String SP_groupId='SP_groupId';
  static String SP_userId='SP_userId';
  static String SP_userName='SP_userName';
  static String SP_userCode='SP_userCode';
  static String SP_MENUS = 'SP_MENUS';
  static String SP_FUNS = 'SP_FUNS';
  static String SP_FUNCONFIGS = 'SP_FUNCONFIGS';
  static String SP_CompanyName = 'SP_CompanyName';
  static String SP_CompanyCode = 'SP_CompanyCode';
  static String SP_UserName = 'SP_UserName';
  static String SP_UserCode = 'SP_UserCode';
  static String SP_UserTypeName = 'SP_UserTypeName';
  static String SP_GroupName = 'SP_GroupName';
  static String SP_BrandLogo = 'SP_BrandLogo';
  static String SP_UserLogo = 'SP_UserLogo';
  static String SP_ClientName = "SP_ClientName";
  static String SP_Shanghu_baozhengjin = 'SP_Shanghu_baozhengjin';
  static String SP_UserSex = 'SP_UserSex';
  static String SP_guideSet = 'SP_guideSet';
  static String STOCKLOCK = "STOCKLOCK";
  static String REFUND_REASONS_ENABLE = "REFUND_REASONS_ENABLE";
  static String CANCEL_REASONS_ENABLE = "CANCEL_REASONS_ENABLE";
  static String NOT_PAY_PEND_ORDER = "NOT_PAY_PEND_ORDER";
  static String NOT_PAY_ORDER = "NOT_PAY_ORDER";
  static String PART_PAY_PEND_ORDER = "PART_PAY_PEND_ORDER";
  static String NOT_MEAL_ORDER = "NOT_MEAL_ORDER";
  static String Order_PostingDate_Modifiable = "Order_PostingDate_Modifiable";
  static String Refund_PostingDate_Modifiable = "Refund_PostingDate_Modifiable";
  static String SP_isCustomHandover = "SP_isCustomHandover";
  static String SP_Mubiao = "SP_Mubiao";

  static String SP_tokenId='SP_tokenId';
  static String SP_ApiAddress = 'SP_ApiAddress';
  static String SP_serverAddress='SP_serverAddress';
  static String SP_zuulServerAddress='SP_zuulServerAddress';
  static String SP_Pos_CompanyId_Save_DB_Succeed='SP_Pos_CompanyId_Save_DB_Succeed';
  static String SP_Pos_Save_OfflineFile_To_DB_Succeed='SP_Pos_Save_OfflineFile_To_DB_Succeed';
  static String SP_Pos_OfflineDB_goodsType ="SP_Pos_OfflineDB_goodsType";
  static String SP_Pos_OfflineDB_payType ="SP_Pos_OfflineDB_payType";
  static String SP_Pos_Offline_ShopCart ="SP_Pos_Offline_ShopCart";

  static const String SP_offlineDBCuXiaoVersion_zl_list ="SP_offlineDBCuXiaoVersion_zl_list";//离线促销版本 增量促销各个版本list
  static const String SP_offlineDBCuXiaoVersion2 ="SP_offlineDBCuXiaoVersion2";//离线促销版本 全量促销
  static const String SP_offlineDBGoodsVersion2 ="SP_offlineDBGoodsVersion2";//离线商品版本 全量商品
  static const String SP_Pos_H5_goods_cache ="SP_Pos_H5_goods_cache";//
  static const String SP_barcode_search_rule ="SP_barcode_search_rule";//

  static String USBPrinter ="USBPrinter";
  static String IPPrinter ="IPPrinter";
  static String ServerSocketPrinter ="ServerSocketPrinter";
  static String ClientSocketPrinter ="ClientSocketPrinter";
  static String CloudPrinter ="CloudPrinter";//云打印机
  static String BluetoothPrinter ="BluetoothPrinter";
  static String BluetoothWeigher ="BluetoothWeigher";
  static String UsbSerialWeigher ="UsbSerialWeigher";
  static String SocketTV ="SocketTV";
  static String SP_isUseShangMiPrinter ="SP_isUseShangMiPrinter";
  static String SP_isUseShangMiSerialWeigher ="SP_isUseShangMiSerialWeigher";
  static String SP_isUseServerClientSocketPrinter ="SP_isUseServerClientSocketPrinter";
  static String SP_currentServerOrClientSoscketPrinter ="SP_currentServerOrClientSoscketPrinter";
  static String SP_ServerSocket_Appoint_printer ="SP_ServerSocket_Appoint_printer";
  static String SP_ClientSocket_Appoint_printer ="SP_ClientSocket_Appoint_printer";

  static String SP_isRememberPWD = "SP_isRememberPWD";
  static String SP_isReadXieyi = "SP_isReadXieyi";
  static String SP_loginName = "SP_loginName";
  static String SP_loginPwd = "SP_loginPwd";


  //自助收银服务
  static String Tag_selfService = "Tag_selfService";

  static String NotifyAction_selfService_update_shoppingcart = "NotifyAction_selfService_update_shoppingcart";

}